<ui:composition xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.prime.com.tr/ui">
	<p:dialog closeOnEscape="true" header="#{msgs.referenceTable}" id="dialogSelectiveReferenceTable" modal="true" resizable="false" widgetVar="dialogSelectiveReferenceTableVar" width="800">
		<h:form id="referenceTableForm">
			<p:dataTable emptyMessage="#{msgs.emptyDataTableMessage}" paginator="false" value="#{selectivePrioritizationController.selectionsTable}" var="selection">
				<p:column headerText="#{msgs.selection}" styleClass="center">
					<h:outputText value="#{selection.selectionLabel}"/>
				</p:column>
				<p:column headerText="#{msgs.resourcesDescription}" styleClass="center">
					<h:outputText value="#{selection.selectionExplanationLabel}"/>
				</p:column>
				<p:column headerText="#{msgs.cost}/#{msgs.value}" styleClass="center">
					<h:outputText value="#{selection.costValueAreasLabel}"/>
				</p:column>
				<p:column headerText="#{msgs.operator}" styleClass="center">
					<h:outputText value="#{selection.operatorLabel}"/>
				</p:column>
				<p:column headerText="#{msgs.fit}/#{msgs.risk}" styleClass="center">
					<h:outputText value="#{selection.fitRiksAreasLabel}"/>
				</p:column>
			</p:dataTable>
			<p:outputPanel layout="block" styleClass="buttonContainer center">
				<p:commandButton alt="#{msgs.close}" image="ui-icon ui-icon-close" onclick="dialogSelectiveReferenceTableVar.hide()" title="#{msgs.close}" type="button" value="#{msgs.close}" />
			</p:outputPanel>
		</h:form>
	</p:dialog>
</ui:composition>